package com.aptemo.webetek.client.commands.impl;

import java.util.ArrayList;
import java.util.Date;

import com.aptemo.webetek.client.commands.Action;
import com.aptemo.webetek.client.enums.EnumEventType;
import com.aptemo.webetek.shared.EventBean;
import com.aptemo.webetek.shared.PickBean;

public class CreateEventAction implements Action<EventBean>
{

	/**
	 * 
	 */
	private String				title;
	private String				description;
	private Date				date;
	private ArrayList<PickBean>	picks;
	private String				teamId;
	private EnumEventType		betType	= EnumEventType.N_WAY;
	private String				labelid;

	protected CreateEventAction()
	{
	}

	public CreateEventAction(String teamid, String labelid, String title, String description, Date date, ArrayList<PickBean> picks)
	{
		this(teamid, labelid, title, description, date, picks, EnumEventType.N_WAY);
	}

	public CreateEventAction(String teamid, String labelid, String title, String description, Date date, ArrayList<PickBean> picks, EnumEventType type)
	{
		this.setTeamId(teamid);
		this.setTitle(title);
		this.setDescription(description);
		this.setDate(date);
		this.setLabelId(labelid);
		// this.setEmail(email);
		this.setPicks(picks);
		this.betType = type;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public Date getDate()
	{
		return date;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public String getTitle()
	{
		return title;
	}

	public void setLabelId(String sport)
	{
		this.labelid = sport;
	}

	public String getLabelId()
	{
		return labelid;
	}

	public void setPicks(ArrayList<PickBean> picks)
	{
		this.picks = picks;
	}

	public ArrayList<PickBean> getPicks()
	{
		return picks;
	}

	public String getTeamId()
	{
		return teamId;
	}

	public void setTeamId(String teamId)
	{
		this.teamId = teamId;

	}

	public void setBetType(EnumEventType betType)
	{
		this.betType = betType;
	}

	public EnumEventType getBetType()
	{
		return betType;
	}

}
